package com.example.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.util.Date;

/**
 * 用户表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 1.0-SNAPSHOT 2025-06-15
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class MdlUserExcel {
    @ExcelProperty(value = "String", index = 0)
    private String openid;
    @ExcelProperty(value = "String", index = 1)
    private String unionid;
    @ExcelProperty(value = "String", index = 2)
    private String sessionKey;
    @ExcelProperty(value = "String", index = 3)
    private String username;
    @ExcelProperty(value = "String", index = 4)
    private String dharmaName;
    @ExcelProperty(value = "String", index = 5)
    private String password;
    @ExcelProperty(value = "String", index = 6)
    private String phone;
    @ExcelProperty(value = "Integer", index = 7)
    private Integer isActive;
    @ExcelProperty(value = "Integer", index = 8)
    private Integer isMember;
    @ExcelProperty(value = "Integer", index = 9)
    private Integer memberLevel;
    @ExcelProperty(value = "Date", index = 10)
    private Date birthDate;
    @ExcelProperty(value = "String", index = 11)
    private String province;
    @ExcelProperty(value = "String", index = 12)
    private String city;
    @ExcelProperty(value = "String", index = 13)
    private String district;
    @ExcelProperty(value = "String", index = 14)
    private String detailAddress;
    @ExcelProperty(value = "Integer", index = 15)
    private Integer sex;
    @ExcelProperty(value = "String", index = 16)
    private String avatarUrl;
    @ExcelProperty(value = "Integer", index = 17)
    private Integer totalMerit;
}